package com.seveneight.baijiesteward.ui.first.contract;

import android.content.Context;

import com.seveneight.baijiesteward.bean.OrderBean;
import com.seveneight.baijiesteward.http.MyCallBack;

import okhttp3.RequestBody;

/**
 * Created by user1 on 2018/3/29.
 */

public interface CreatCashOrderContract {

    interface CreateCashOderView {
        void reBackOrderInfo(OrderBean orderBean);
    }

    interface CreateCashOderModel {
        void createOrder(Context context,RequestBody body,
                         MyCallBack<OrderBean> myCallBack);
    }

    interface CreateCashOderPresenter {
        void createOrder(Context context,RequestBody body);
    }
}
